package com.sunnuwell.demo.service;

import com.sunnuwell.demo.common.exception.AdException;
import com.sunnuwell.demo.common.vo.CommonResponse;
import com.sunnuwell.demo.entity.Resource;
import com.sunnuwell.demo.entity.Role;
import com.sunnuwell.demo.vo.ResourceVo;
import com.sunnuwell.demo.vo.RoleVo;

import java.util.List;

public interface RoleService {

    List<Role> getAllRole();

    String saveRole(RoleVo roleVo) throws AdException;

    String deleteRole(RoleVo roleVo) throws AdException;
}
